html, body {
  height: 100%;
}

body {
  font: 14px -apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Arial,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: #eee;
}

:root {
  --svga-color: transparent;
}

.tool-bar {
  font-size: 0;
  text-align: center;
  padding: 5px 0;
  box-shadow: 0 0 10px #cecece;
}
.tool-bar .color {
  display: inline-block;
  width: 34px;
  height: 34px;
  border-radius: 5px;
  margin: 4px;
  cursor: pointer;
}
.tool-bar .is-trans {
  background-color: transparent;
  width: 32px;
  height: 32px;
  border: 1px solid #909090;
}
.tool-bar .is-black {
  background-color: #000;
}
.tool-bar .is-white {
  background-color: #fff;
  width: 32px;
  height: 32px;
  border: 1px solid #909090;
}
.tool-bar .is-blue {
  background-color: #3498DB;
}
.tool-bar .is-green {
  background-color: #30CC71;
}
.tool-bar .is-yellow {
  background-color: #F1C40D;
}
.tool-bar .is-red {
  background-color: #C0392B;
}

#app {
  height: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  align-items: flex-start;
  padding: 40px 20px;
}

#app:empty::before {
  content: '体验预览 SVGA 动画，请将文件拖拽到此区域';
  padding-top: 220px;
  font-size: 18px;
  text-align: center;
  color: #c9c9c9;
}

.svga {
  position: relative;
  background-color: var(--svga-color);
  border: 1px dashed #ccc;
  border-radius: 8px;
  margin-bottom: 1em;
}

.svga > span {
  position: absolute;
  left: 0;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 5px 10px;
  border-radius: 8px 0 8px 0;
}
